package com.zsummer.baikal.system.mapper;

import com.zsummer.baikal.system.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * 菜单权限表 Mapper 接口
 * @author zsummer
 * @since 2021-07-28
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 查询权限
     * @param username
     * @return
     */
    Set<String> selectPermissionByUsername(String username);
}
